package vo

type CartReq struct {
	UserID          uint    `json:"user_id" binding:"required"`
	InstrumentID    uint    `json:"instrument_id" binding:"required"`
	InstrumentNum   uint    `json:"instrument_num" binding:"required"`
	InstrumentName  string  `json:"instrument_name"`
	InstrumentDesc  string  `json:"instrument_desc"`
	InstrumentImg   string  `json:"instrument_img"`
	InstrumentUnit  string  `json:"instrument_unit"`
	InstrumentPrice float64 `json:"instrument_price"`
}

type ListCartReq struct {
	PageNum  int `json:"page_num"`
	PageSize int `json:"page_size"`
}

type ListCartResp struct {
	ID              uint    `json:"id"`
	UserID          uint    `json:"user_id"`
	InstrumentID    uint    `json:"instrument_id"`
	InstrumentNum   uint    `json:"instrument_num"`
	InstrumentName  string  `json:"instrument_name"`
	InstrumentDesc  string  `json:"instrument_desc"`
	InstrumentImg   string  `json:"instrument_img"`
	InstrumentUnit  string  `json:"instrument_unit"`
	InstrumentPrice float64 `json:"instrument_price"`
	CreatedAt       string  `json:"created_at"`
}
